﻿{include file="public/header"/}
{include file="public/search_t"/}
<div id="[table_name]" class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="row common-search" style="margin-top: 10px;margin-bottom: 20px" hidden>
            <div class="col-sm-12">
                <form class="form-inline table-form">
                    <!--搜索项-->
                    <div class="form-group">
                        <input type="text" name="name" placeholder="请输入名称" class="form-control">
                    </div>
                    <!--搜索项-->
                    {$html->search_btn()}
                </form>
            </div>
        </div>
        <div  class="toolbar">
            {$html->toolbar('add,del')}
        </div>
        <table class="table table-striped table-hover table-bordered"></table>
    </div>
</div>
{include file="public/search_f"/}
{include file="public/footer"/}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript">
    //初始化表格
    var tableName="[table_name]";
    initTable({
        name:tableName,
        columns:[
            {checkbox: true},
            {title: 'ID',field:'id'},
[table_data]
            {title: '操作', field: 'operate',formatter: function (value, row){return operateBtn(tableName,row);}}
        ]
    });
</script>
<!--/请在上方写此页面业务相关的脚本-->
